package mn.idax.exchange.otc.mapper;

import mn.idax.exchange.otc.entity.OTCFieldExtend;
import mn.idax.exchange.otc.entity.OTCFieldExtendExample;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface OTCFieldExtendMapper {
    int countByExample(OTCFieldExtendExample example);

    int deleteByExample(OTCFieldExtendExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(OTCFieldExtend record);

    int insertSelective(OTCFieldExtend record);

    List<OTCFieldExtend> selectByExampleWithBLOBsWithRowbounds(OTCFieldExtendExample example, RowBounds rowBounds);

    List<OTCFieldExtend> selectByExampleWithBLOBs(OTCFieldExtendExample example);

    List<OTCFieldExtend> selectByExampleWithRowbounds(OTCFieldExtendExample example, RowBounds rowBounds);

    List<OTCFieldExtend> selectByExample(OTCFieldExtendExample example);

    OTCFieldExtend selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") OTCFieldExtend record, @Param("example") OTCFieldExtendExample example);

    int updateByExampleWithBLOBs(@Param("record") OTCFieldExtend record, @Param("example") OTCFieldExtendExample example);

    int updateByExample(@Param("record") OTCFieldExtend record, @Param("example") OTCFieldExtendExample example);

    int updateByPrimaryKeySelective(OTCFieldExtend record);

    int updateByPrimaryKeyWithBLOBs(OTCFieldExtend record);

    int updateByPrimaryKey(OTCFieldExtend record);
}